<%@ page contentType="text/html;charset=ISO-8859-1" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/jquery.metadata.js"></script>
<script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="js/jquery.tablesorter.pager.js"></script>
<script type="text/javascript" src="js/jquery.maskMoney.0.2.js"></script>
<script type="text/javascript" src="js/jquery.maskedinput-1.2.2.min.js"></script>
<script type="text/javascript" src="js/formatanumero.js"></script>
<link rel="stylesheet" href="css/tema/global.css" type="text/css" id="" media="print, projection, screen" />
<link rel="stylesheet" href="css/tema/jquery-ui-1.8.2.custom.css" type="text/css"/>
<script type="text/javascript" src="<c:url value="/js/jquery.ui.datepicker-pt-BR.js"/>"></script>
<link rel="stylesheet" href="css/blue/style.css" type="text/css" id=""
	media="print, projection, screen" />
<style type="text/css" media="all">
@import 'css/tema/portlets.css';
</style>
<script>
$(document).ready(function() {
	formatarCampos();
});
function formatarCampos() {
	$("input.numeromascara").maskMoney({symbol:"",decimal:",",thousands:"."});
	$("input.datamascara").mask("99/99/9999");
	$("input.datamascara").keyup(function(){
		  if ( $(this)[0].value != '__/__/____' ) {
			  $(this).datepicker("hide");
			  //$(this).datepicker("destroy");
		  } else {
			  $(this).datepicker("show");
		  }
	});
	$("input.datamascara").datepicker({ altFormat: 'dd-mm-yyyy' });
}
</script>
